<div class="bjui-pageHeader">
<form id="pagerForm" data-toggle="ajaxsearch" action="__URL__/index" method="post">
	
	<input type="hidden" name="pageSize" value="{$numPerPage}">
    <input type="hidden" name="pageCurrent" value="{$_REQUEST['pageNum']|default=1}">
	 
        <div class="bjui-searchBar">
				<label>查询时间：</label><input type='text' data-toggle='datepicker' value='{$_REQUEST['time1']}' name='time6' class='form-control' size='12' />&nbsp;
        <label>查询方式:</label><select name="genre"><option value="m">按月查询</option><!-- <option value="y">按年查询</option> --><option value="d">按天查询</option><option value="H">按小时查询</option></select>
             <button type="submit"  class="btn-default" data-icon="search">查询</button>
          <!--     <a class="btn btn-orange" href="javascript:;" onclick="$(this).navtab('reloadForm', true);" data-icon="undo">清空查询</a> -->
		</div> 
</form>
</div>
<div class="bjui-pageContent tableContent" style="padding:8px;">
    <div class="col-md-6">
      <div class="panel panel-default">
        <div class="panel-heading"><h3 class="panel-title"><i class="fa fa-pencil-square-o"></i>  每天新增订单 </h3></div>
        <div style="min-height:185px">
              <img src="{:U('orderIncrease/type',array('keys'=>$_REQUEST['keys'],'time1'=>$_REQUEST['time1'],'time2'=>$_REQUEST['time2'],'title'=>$title,'orderUP'=>$orderUP,'jingban'=>$_REQUEST['jingban']))}">
        </div>
      </div>
<?php
    if($genre == 'm'){
       $genre1 = date('Y',$time).'月回款订单量';
       $genre2 = date('Y',$time).'月续期订单量';
       $genre3 = date('Y',$time).'月放款订单量';
    }

    if($genre == 'd'){
       $genre1 = date('Y-m',$time).'日回款订单量';
       $genre2 = date('Y-m',$time).'日续期订单量';
       $genre3 = date('Y-m',$time).'日放款订单量';
    }

    if($genre == 'h'){
      $genre1 = date('Y-m-d',$time).'每小时回款订单量';
      $genre2 = date('Y-m-d',$time).'每小时续期订单量';
      $genre3 = date('Y-m-d',$time).'每小时放款订单量';
    }
?>
      <div class="panel panel-default">
        <div class="panel-heading"><h3 class="panel-title"><i class="fa fa-pencil-square-o"></i>  每天回款订单 </h3></div>
        <div style="min-height:185px">
              <img src="{:U('orderIncrease/type2',array('keys'=>$_REQUEST['keys'],'time1'=>$_REQUEST['time1'],'time2'=>$_REQUEST['time2'],'title'=>$genre1,'huikuan'=>$huikuan,'jingban'=>$_REQUEST['jingban']))}">
        </div>
      </div>

      <div class="panel panel-default">
        <div class="panel-heading"><h3 class="panel-title"><i class="fa fa-pencil-square-o"></i>  每天续期订单 </h3></div>
        <div style="min-height:185px">
              <img src="{:U('orderIncrease/type3',array('keys'=>$_REQUEST['keys'],'time1'=>$_REQUEST['time1'],'time2'=>$_REQUEST['time2'],'title'=>$genre2,'xuqi'=>$xuqi,'jingban'=>$_REQUEST['jingban']))}">
        </div>
      </div>


       <div class="panel panel-default">
        <div class="panel-heading"><h3 class="panel-title"><i class="fa fa-pencil-square-o"></i>  每天放款订单 </h3></div>
        <div style="min-height:185px">
              <img src="{:U('orderIncrease/type4',array('keys'=>$_REQUEST['keys'],'time1'=>$_REQUEST['time1'],'time2'=>$_REQUEST['time2'],'title'=>$genre3,'fk'=>$fk,'jingban'=>$_REQUEST['jingban']))}">
        </div>
      </div>
    </div>		  
</div>
<div class="bjui-pageFooter">
    <ul>
       <li><button type="button" class="btn-close" data-icon="close">关闭</button></li>
    </ul>
</div>